HTMLify
style.css
Views: 15 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /* Google Fonts - Poppins */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body{ height: 100vh; display: flex; align-items: center; justify-content: center; background: #7d2ae8; } .container{ display: flex; width: 420px; padding: 50px 0; border-radius: 8px; background: #fff; row-gap: 30px; flex-direction: column; align-items: center; } .circular-progress{ position: relative; height: 250px; width: 250px; border-radius: 50%; background: conic-gradient(#7d2ae8 3.6deg, #ededed 0deg); display: flex; align-items: center; justify-content: center; } .circular-progress::before{ content: ""; position: absolute; height: 210px; width: 210px; border-radius: 50%; background-color: #fff; } .progress-value{ position: relative; font-size: 40px; font-weight: 600; color: #7d2ae8; } .text{ font-size: 30px; font-weight: 500; color: #606060; } |